import React, { Component } from 'react';

//登陆之后返回原先要去的页面login函数
// function login(){
//   const { from } = this.props.location.state || { from: { pathname: '/' } }
//   // authed = true
//   this.props.history.push(from.pathname)
// }

const initialState = {}
type State = Readonly<typeof initialState>
type Props = { match?:any,location?:any,route?:any}
class Login extends Component<Props, State> {
    render() { 
        return (  <h2>Login</h2> );
    }
}
 
export default Login;

